// IniManager.h: interface for the CIniManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_INIMANAGER_H__67A62146_3AD9_4E19_9C02_8B7C7F257B12__INCLUDED_)
#define AFX_INIMANAGER_H__67A62146_3AD9_4E19_9C02_8B7C7F257B12__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CIniManager  
{
public:
	void SetGroupName(CString strGroupName);
	
	void InitInfo(CString strFileName=_T(""));
	CString m_strGroup;
	CString m_strIniPath;
	BOOL SetIniValue(const CString strKey,const CString strValue);
	CString GetIniValue(const CString strKey,CString strDefaultValue);
	LONG GetIniValueLong(const CString strKey,CString strDefaultValue);
	CString GetIniValue(const CString strKey,CString strDefaultValue,TCHAR tcVAlue[],int iLength);
	CIniManager();
	virtual ~CIniManager();
};

#endif // !defined(AFX_INIMANAGER_H__67A62146_3AD9_4E19_9C02_8B7C7F257B12__INCLUDED_)
